package com.ocom.xcxapi.client;

import com.ocom.common.constant.SrvpAccessDeviceUrl;
import com.ocom.common.resp.RespMachMessage;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;


@FeignClient(value = "srvpaccess")
public interface SrvpaccessClientService {

    // 获取解码密钥（getDecodeKey）
    @GetMapping(value = SrvpAccessDeviceUrl.URLP_ACCESSDEVICE_getDecodeKey)
    public RespMachMessage getDecodeKey(@RequestParam("companyId")Long companyId,@RequestParam("machNo") String machNo, @RequestParam("deviceType") Integer deviceType);
}
